import 'package:flutter/material.dart';

/// ....
enum ATHChatMessageType {
  text,
  image,
  location,
  voice,
  video,
  file,
}

enum ATHOwnerType {
  sender,
  receiver,
}

class ATHChatMessageModel {
  final ATHOwnerType ownerType;

  final ATHChatMessageType messageType;

  ///   ChatMessageType.text
  final String message;

  ///   ChatMessageType.image
  final String imageUrl;

  final String userName;

  final String userAvatar;

  ATHChatMessageModel({
    @required this.ownerType,
    @required this.messageType,
    this.message,
    this.imageUrl,
    this.userName,
    this.userAvatar,
  });
}
